<form action="<?php $_SERVER['PHP_SELF'] ?>" method="post">
<input type="hidden" name="which" value="<?=$edit?>" />
Редактировать сообщение:<br>
<textarea name="post" cols="50" rows="5"><?=$post?></textarea><br>
<br>
<input type="submit" name="save" value="Сохранить" />
<input type="submit" name="cancel" value="Отмена" />
</form>
